package com.lwx.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwx.sys.domain.User;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lwx
 * @since 2020-04-03
 */
public interface UserMapper extends BaseMapper<User> {

    Integer queryUserMaxOrderNum();

    void deleteUserPermissionByUid(Integer id);

    void saveUserRole(Integer userId, Integer i);
}
